package com.woniuxy.commons.enums;

/**
 * @program: bzeducation
 * @author: Xingqilin
 * @create: 2020-07-17 10:11
 * @description:学期枚举
 */
public enum TermEnum {
    HIGH_ONE_FIRST("高一上", 1),
    HIGH_ONE_SECOND("高一下", 2),
    HIGH_TWO_FIRST("高二上", 3),
    HIGH_TWO_SECOND("高二下", 4),
    HIGH_THREE_FIRST("高三上", 5),
    HIGH_THREE_SECOND("高三下", 6);

    private String name;
    private int index;

    TermEnum(String name, int index) {
        this.name = name;
        this.index = index;
    }

    public String getName() {
        return name;
    }

    public Long getIndex() {
        return (long) index;
    }
}
